package com.lh.runmanage.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-08-12 18:36
 * @function
 * @editLog
 */
public class ProjAvgBaseModel {
    /**
     * 主键
     */
    private String id;
    /**
     * 项目Code（不可重复）
     */
    private String proCode;
    /**
     * 数据生成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 统计周期(日、周、月、年)
     */
    private String totalType;
    /**
     * 统计月数
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT + 8")
    private Date currentDate;
    /**
     * 周数
     */
    private Integer numIndex;
    /**
     * 权数之和
     */
    private BigDecimal weightNumSum;
    /**
     * 权重之和
     */
    private BigDecimal weightSum;
    /**
     * 项目加权平均值
     */
    private BigDecimal totalValue;

    public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }

    public String getProCode(){
        return proCode;
    }

    public void setProCode(String proCode){
        this.proCode = proCode;
    }

    public Date getCreateDate(){
        return createDate;
    }

    public void setCreateDate(Date createDate){
        this.createDate = createDate;
    }

    public String getTotalType(){
        return totalType;
    }

    public void setTotalType(String totalType){
        this.totalType = totalType;
    }

    public Date getCurrentDate(){
        return currentDate;
    }

    public void setCurrentDate(Date currentDate){
        this.currentDate = currentDate;
    }

    public Integer getNumIndex(){
        return numIndex;
    }

    public void setNumIndex(Integer numIndex){
        this.numIndex = numIndex;
    }

    public BigDecimal getWeightNumSum(){
        return weightNumSum;
    }

    public void setWeightNumSum(BigDecimal weightNumSum){
        this.weightNumSum = weightNumSum;
    }

    public BigDecimal getWeightSum(){
        return weightSum;
    }

    public void setWeightSum(BigDecimal weightSum){
        this.weightSum = weightSum;
    }

    public BigDecimal getTotalValue(){
        return totalValue;
    }

    public void setTotalValue(BigDecimal totalValue){
        this.totalValue = totalValue;
    }
}
